<%--
  Created by IntelliJ IDEA.
  User: zyh
  Date: 2021/11/16
  Time: 19:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div align="center">
    <table border="1" cellspacing="0" cellpadding="0" height="100px" width="500px" style="text-align: center;">
        <tr>
            <th>代号</th>
            <th>姓名</th>
            <th>密码</th>
            <th>性别</th>
            <th>工资</th>
        </tr>
        <c:forEach items="${userList}" var="i">
        <tr>
            <td>${i.uno}</td>
            <td>${i.uname}</td>
            <td>${i.upwd}</td>
            <td>${i.usex}</td>
            <td>${i.salaty}</td>
        </tr>
        </c:forEach>
    </table>
</div>
</body>
</html>
